if ENABLE_PROTOCOL_AIM

ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
BUILD_DIR = ../../build/
ASSEMBLY_NAME=Galaxium.Protocol.Aim
ASSEMBLY = $(BUILD_DIR)$(ASSEMBLY_NAME).dll

ASSEMBLY_WRAPPER = 
ASSEMBLY_WRAPPER_IN = 

PC_FILES =
PC_FILES_IN =

COMPILE_TARGET = library

REFERENCES =  \
	-pkg:anculus-core \
	-r:../../build/Galaxium.Core.dll \
	-r:../../build/Galaxium.Gui.dll \
	-r:../../build/Galaxium.Protocol.dll \
	-r:System

RESOURCES = Galaxium.Protocol.Aim.addin 
EXTRAS = 
DATA_FILES = 

FILES =  \
	AimAccountCache.cs \
	AimProtocol.cs \
	AimSession.cs \
	Objects/AimAccount.cs \
	Objects/AimContact.cs \
	Objects/AimDisplayImage.cs \
	Objects/AimGroup.cs \
	Objects/AimPresence.cs \
	OscarLib/ConnectionHandlers/ChatConnection.cs \
	OscarLib/ConnectionHandlers/Connection.cs \
	OscarLib/ConnectionHandlers/DataPacket.cs \
	OscarLib/ConnectionHandlers/DirectConnection.cs \
	OscarLib/ConnectionHandlers/DirectIMConnection.cs \
	OscarLib/ConnectionHandlers/Family.cs \
	OscarLib/ConnectionHandlers/FileTransferConnection.cs \
	OscarLib/ConnectionHandlers/PacketDispatcher.cs \
	OscarLib/ConnectionHandlers/ProcessQueue.cs \
	OscarLib/ConnectionHandlers/RateClass.cs \
	OscarLib/Delegates.cs \
	OscarLib/DirectIM.cs \
	OscarLib/EnumStructs/Capabilities.cs \
	OscarLib/EnumStructs/ChatRoomInfo.cs \
	OscarLib/EnumStructs/CommHeaders.cs \
	OscarLib/EnumStructs/DelayedFrame.cs \
	OscarLib/EnumStructs/DirectoryEntry.cs \
	OscarLib/EnumStructs/Environ.cs \
	OscarLib/EnumStructs/ICQStatusFlags.cs \
	OscarLib/EnumStructs/InterestItem.cs \
	OscarLib/EnumStructs/MessageFlags.cs \
	OscarLib/EnumStructs/OSCARIdentification.cs \
	OscarLib/EnumStructs/Privacy.cs \
	OscarLib/EnumStructs/RendezevousStructs.cs \
	OscarLib/EnumStructs/SNACFamilies.cs \
	OscarLib/EnumStructs/SNACSubtypes.cs \
	OscarLib/EnumStructs/SSIitem.cs \
	OscarLib/EnumStructs/TLV.cs \
	OscarLib/EnumStructs/TypingNotification.cs \
	OscarLib/EnumStructs/UndeliverableMessageReason.cs \
	OscarLib/EnumStructs/Userinfo.cs \
	OscarLib/EventArgs.cs \
	OscarLib/Logging.cs \
	OscarLib/Marshal.cs \
	OscarLib/ObjectManagers/ChatRoomManager.cs \
	OscarLib/ObjectManagers/ConnectionManager.cs \
	OscarLib/ObjectManagers/FamilyManager.cs \
	OscarLib/ObjectManagers/IcqManager.cs \
	OscarLib/ObjectManagers/LimitManager.cs \
	OscarLib/ObjectManagers/MessageManager.cs \
	OscarLib/ObjectManagers/RateClassManager.cs \
	OscarLib/ObjectManagers/SSIManager.cs \
	OscarLib/ObjectManagers/StatusManager.cs \
	OscarLib/Session.cs \
	OscarLib/SNACs/SNAC01.cs \
	OscarLib/SNACs/SNAC02.cs \
	OscarLib/SNACs/SNAC06.cs \
	OscarLib/SNACs/SNAC08.cs \
	OscarLib/SNACs/SNAC09.cs \
	OscarLib/SNACs/SNAC0A.cs \
	OscarLib/SNACs/SNAC0B.cs \
	OscarLib/SNACs/SNAC0F.cs \
	OscarLib/SNACs/SNAC10.cs \
	OscarLib/SNACs/SNAC13.cs \
	OscarLib/SNACs/SNAC15.cs \
	OscarLib/SNACs/SNAC17.cs \
	OscarLib/SNACs/SNAC18.cs \
	OscarLib/SNACs/SNACFunctions.cs \
	OscarLib/StaticData/Constants.cs \
	OscarLib/StaticData/Definitions.cs \
	OscarLib/Utilities/ByteStream.cs \
	OscarLib/Utilities/CapabilityProcessor.cs \
	OscarLib/Utilities/IconVerifier.cs \
	OscarLib/Utilities/ScreennameVerifier.cs \
	OscarLib/Utilities/TlvBlock.cs \
	OscarLib/Utilities/UtilityMethods.cs

GENERATED_FILES = AssemblyInfo.cs

$(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles) 
	mkdir -p $(dir $(ASSEMBLY))		
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources) $(build_resources_embed) $(build_references_ref)

include $(top_srcdir)/Makefile.include

else
all:
endif
